#include "include/printf.h"
#include "include/vsprintf.h"
#include "include/type.h"
#include "include/syscall.h"
#include "include/klib.h"
int printf(const char *fmt, ...)
{
    int i;
    char buf[256];
    va_list arg = (va_list)((char*)(&fmt)+4);
    i = vsprintf(buf, fmt, arg);
    printx(buf);
    return i;
}